import request from '@/utils/http';

//获取素材库分页
export function getMaterialPage(params) {
	return request({
		url: '/anchor/platform/manager/resource/getList',
		method: 'get',
		params
	});
}

//获取素材库资源类型
export function getMaterialType() {
	return request({
		url: '/anchor/platform/manager/resource/getResourceType',
		method: 'get'
	});
}

//获取素材库资源统计
export function getMaterialStatistics(params) {
	return request({
		url: '/anchor/platform/manager/resource/getListStats',
		method: 'get',
		params
	});
}
